/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package desktopapplication1;

import java.util.ArrayList;

/**
 *
 * @author elfindel
 */
public class Jury {

    private String type;
    private VIP president;
    private ArrayList<VIP> jury;
    private Salle salle;
    private int noJury;
    private static int dernierNoJury=1;

    public Jury(String type, VIP president, ArrayList<VIP> jury, Salle salle) {
        this.type = type;
        this.president = president;
        this.jury = jury;
        this.salle = salle;
        this.noJury=dernierNoJury;
        dernierNoJury++;
    }

    public int getNoJury() {
        return noJury;
    }

    public void setNoJury(int noJury) {
        this.noJury = noJury;
    }

    public ArrayList<VIP> getJury() {
        return jury;
    }

    public void setJury(ArrayList<VIP> jury) {
        this.jury = jury;
    }

    public VIP getPresident() {
        return president;
    }

    public void setPresident(VIP president) {
        this.president = president;
    }

    public Salle getSalle() {
        return salle;
    }

    public void setSalle(Salle salle) {
        this.salle = salle;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Jury{" + "type=" + type + "president=" + president + "jury=" + jury + "salle=" + salle + "noJury=" + noJury + '}';
    }

  

   

}
